import service from '@/utils/request'
const DoctorApi = {
    addDoctor: function (data) {
        return service.post('doctor', data);
    },
    editDoctor: function (data) {
        return service.put('doctor', data);
    },
    deleteDoctor: function (data) {
        return service.put('doctor/delete', data);
    },
    getDoctor: function (data) {
        return service.get('doctor',{ params: data });
    },
    getDoctorList: function (data) {
        return service.get('doctor/page',{ params: data });
    },
    getDoctorNames: function (data) {
        // 获取医生姓名列表
        return service.get('doctor/listIdName',{ params: data });
    },
    createHsHb: function (data) {
        // 创建核酸海报
        return service.get('doctor/createHsHb',{ params: data });
    }

}

export default DoctorApi
